package com.ysstech.dataway.thread;

import com.ysstech.dataway.service.AbsDatawayGenerate;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


@Slf4j
@Service
public abstract class DatawayGenerateService<T> implements AbsDatawayGenerate<T> {


    @Transactional(rollbackFor = Exception.class)
    public void doGenerate() throws Exception {
       // 上传数据





        // 处理数据
      this.workData();

    }
}
